package com.ego.admin.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ego.admin.po.SysAdminToken;

/**
 * @program: ego
 * @description: Token
 * @author: KamTang
 * @create: 2022-11-11 11:25
 **/
public interface SysTokenDao extends BaseMapper<SysAdminToken> {
    /**
     * 通过token获取数据库中token
     *
     * @param token 令牌
     * @return
     */
    SysAdminToken queryByToken(String token);
}
